<div id="content">
	<div class="rightCol">	
	    <!-- Show the Prediction stats for the next match -->
		{include file="prize.html"}	
	</div>				
	
    {if !$my_session->isAdmin()}
    	<p>
	    	<a href="leagues.php">Ligler</a> |
	    	<a href="?action=newSeason">Sezonlar</a> |
	    	<a href="?action=newSeason">Takimlar</a> |
	    	<a href="?action=newSeason">Mac Ekle</a>
    	</p>
    {/if}
    
	<form action="process.php" method="POST">
		<table class="liste">
			<caption>Maclar</caption>
			<tr>
				<td></td><th>Ev Sahibi</th><th>Konuk</th>
			</tr>
		
			{foreach from=$nextgames->games item=i name=nextgames_table}
			  <tr>
			  	<td>{$i->date|date_format:"%D %H:%M"}</td>	
			  	<td>{$i->home_team}</td>
			  	<td>{$i->away_team}</td>  
			  	{* --- Mac bitmisse, skor *}
			  	{* --- login olmussa, yaptigi tahmin, input box icinde *}
			  	<td><a href="#">Sil</a>
			  	</td>	
			  </tr>
			  {if $smarty.foreach.nextgames_table.last}
			  	<tr>
			  		<td colspan=3 class="alignright">
			  			<input type="submit" value="kaydet"/>
			  		</td>
			  	</tr>
			  {/if}
			{/foreach}
		</table>
	</form>
</div>